import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
// 自定义区域布局
export const workshopLayoutSave = (val) => postRequest('/intelligenceReport/workshopLayout/save', val);
export const workshopLayoutGetByWorkshopId = (val) => postRequest('/intelligenceReport/workshopLayout/getByWorkshopId', val);
export const intelligenceReportWorkshopLayoutGetByWorkshopIds = (val) => postRequest('/intelligenceReport/workshopLayout/getByWorkshopIds', val);
export const monitoringBtPage = (val) => getRequest('/monitoring/bt/page', val);

export const machineManagerMachineGetRunState = (val) => postRequest('/machinemanager/machine/get-run-state', val);
export const machineManagerMachineGetAllRunState = (val) => postRequest('/machinemanager/machine/get-all-run-state', val);
export const iotDeviceAlarmRecordPage = (params) => getRequest('/iot/device-alarm-record/page', params);
